<template>
	<div>setupScript</div>
</template>

<script setup>
const msg = ref('setupScript')
const count = ref(0)
const increase = () => {
	count.value++
}
defineExpose({ msg, count, increase })
// defineExpose({ msg })
</script>

<style scoped></style>

<!-- defineExpose({ msg, count, increase }) 编译时 运行时 -->
